package com.soaagenda.valueobjects; 
 
public class Product { 
    private String barCode; 
    private String name; 
    public Product() { 
        try { 
            jbInit(); 
        } catch (Exception ex) { 
            ex.printStackTrace(); 
        } 
    } 
 
    private void jbInit() throws Exception { 
    } 
 
    public void setBarCode(String barCode) { 
        this.barCode = barCode; 
    } 
 
    public void setName(String name) { 
        this.name = name; 
    } 
 
    public String getBarCode() { 
        return barCode; 
    } 
 
    public String getName() { 
        return name; 
    } 
}